<?php
if($t['blog']['date']>0) {
	$date = $t['blog']['date']; 
} else {
	$date = time();
}
?>


<div class="inl">
Voll krazz eingeloggt ^^
</div>
<div class="inr">
	<div class="formbox">
		<form method="post"  action="<?php echo $ro->gen('blog'); ?>">
			<div class="reihe">
				.:date:.<br/>
				<input name="Date" type="text" id="date" value="<?php echo date('m-d-Y H:i:s',$date); ?>"/>
			</div><br/>
			<div class="reihe">
				.: title :.<br/>
				<input name="Title" type="text" id="fe-name" />
			</div><br/>			
			<div class="reihe">
				.: message :.<br/>
				<textarea name="Message" cols="40" rows="15" id="message">&#160;</textarea>
			</div><br/>
			<div class="reihe">
				.: secret :.<br/>
				<textarea name="Secret" cols="40" rows="5" id="secret">&#160;</textarea>
			</div><br/>
			<!-- 
			<div class="reihe">
				.: Status :.<br/>
				<input name="State" type="text" id="homepage" />
			</div><br/> 
			-->
			<div class="reihe">
				<input type="hidden" value="1" name="s" />
				<input type="submit" name="submit" value="Submit" class="button" />
				<br/>
			</div>
		</form>
	</div>
	<? if(isset($t['saveBlog']) && $t['saveBlog']==true) echo "<br/><br/> Eintrag erfolgreich gespeichert!"; ?>
	<? if(isset($t['doubleBlog']) && $t['doubleBlog']==true) echo "<br/><br/> Doppelter Eintrag ignoriert!"; ?>
</div>